﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection.PortableExecutable;
using System.Text;
using System.Threading.Tasks;

namespace HrEFCore
{
    //薪酬标准基本信息表
    public class SS
    {
        [Key]
		[DisplayName("编号")]
		[Required(ErrorMessage = "编号不能为空")]
		public short? SsdId { get; set; }//编号
		[DisplayName("薪酬标准单编号")]
		[Required(ErrorMessage = "薪酬标准单编号不能为空")]
		public string? StandardId { get; set; }//薪酬标准单编号
		[DisplayName("薪酬标准单名称")]
		[Required(ErrorMessage = "薪酬标准单名称不能为空")]
		public string? StandardName { get; set; }//薪酬标准单名称
		[DisplayName("制定者名字")]
		[Required(ErrorMessage = "制定者名字不能为空")]
		public string? Designer { get; set; }//制定者名字
		[DisplayName("登记人")]
		[Required(ErrorMessage = "登记人不能为空")]
		public string? Register { get; set; }//登记人
		[DisplayName("复核人")]
		[Required(ErrorMessage = "复核人不能为空")]
		public string? Checker { get; set; }//复核人
		[DisplayName("变更人")]
		[Required(ErrorMessage = "变更人不能为空")]
		public string? Changer { get; set; }//变更人
		[DisplayName("登记时间")]
		[Required(ErrorMessage = "登记时间不能为空")]
		public DateTime? RegistTime { get; set; }//登记时间
		[DisplayName("复核时间")]
		[Required(ErrorMessage = "复核时间不能为空")]
		public DateTime? CheckTime { get; set; }//复核时间
		[DisplayName("变更时间")]
		[Required(ErrorMessage = "变更时间不能为空")]
		public DateTime? ChangeTime { get; set; }//变更时间
		[DisplayName("薪酬总额")]
		[Required(ErrorMessage = "薪酬总额不能为空")]
		public decimal? SalarySum { get; set; }//薪酬总额
		[DisplayName("是否经过复核")]
		[Required(ErrorMessage = "是否经过复核不能为空")]
		public short CheckStatus { get; set; }//是否经过复核
		[DisplayName("更改状态")]
		[Required(ErrorMessage = "更改状态不能为空")]
		public short ChangeStatus { get; set; }//更改状态
		[DisplayName("复核意见")]
		[Required(ErrorMessage = "复核意见不能为空")]
		public string? CheckComment { get; set; }//复核意见
		[DisplayName("备注")]
		[Required(ErrorMessage = "备注不能为空")]
		public string? Remark { get; set; }//备注
	}
}
